package com.crawler.crawler.domain;

import org.springframework.boot.autoconfigure.domain.EntityScan;

@EntityScan
public class Book {

    private int id;//id

    private String bookName;//书名
    //内容简介
    private String contentValidity;

    //isbn
    private String isbn;

    private String tags;

    private String author;

    private String bookCover;

    private String baiduUrl;

    private String baiduCode;

    private String filePath;

    private String url;

    private String cat;

    private String fileSize;

    private String authorValidity;

    private int baiduSave;

    private String siteName;

    private int startIndex;
    private int pageSize;
    public Book() {
        super();
    }


    public int getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(int startIndex) {
        this.startIndex = startIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getContentValidity() {
        return contentValidity;
    }

    public void setContentValidity(String contentValidity) {
        this.contentValidity = contentValidity;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }


    public String getBaiduUrl() {
        return baiduUrl;
    }

    public void setBaiduUrl(String baiduUrl) {
        this.baiduUrl = baiduUrl;
    }

    public String getBaiduCode() {
        return baiduCode;
    }

    public void setBaiduCode(String baiduCode) {
        this.baiduCode = baiduCode;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCat() {
        return cat;
    }

    public void setCat(String cat) {
        this.cat = cat;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getAuthorValidity() {
        return authorValidity;
    }

    public void setAuthorValidity(String authorValidity) {
        this.authorValidity = authorValidity;
    }

    public String getBookCover() {
        return bookCover;
    }

    public void setBookCover(String bookCover) {
        this.bookCover = bookCover;
    }

    public int getBaiduSave() {
        return baiduSave;
    }

    public void setBaiduSave(int baiduSave) {
        this.baiduSave = baiduSave;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", baiduUrl='" + baiduUrl + '\'' +
                ", baiduCode='" + baiduCode + '\'' +
                ", url='" + url + '\'' +
                '}';
    }
}
